<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>upload</title>
</head>
<body>
<form action="upload" method="POST" enctype="multipart/form-data">   <!-- 上传文件注意enctype -->
    选择文件：<input type="file" name="file" /> <br><br>
    <input type="submit" value="上传" /><br><br><hr>
    <a href="/downLoad">下载</a>
</form>
</body>
</html>